package com.itshare.video.pojo.dto;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;

/**
 * @Author lyr
 * @create 2020/10/24 11:16
 */
@Data
public class EmailLoginDTO {
    @Email
    private String email;
    @Length(min = 5,max = 60)
    @NotBlank
    private String password;
}
